﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using MySql.Data.MySqlClient;
using System.Data;

namespace ProjectBuilder
{
    [DbTable("phpdoc_tag")]
    public class Tag : BaseDocObject
    {        
        [DbField("name")]
        public string Name { get; set; }

        [DbField("value")]
        public string Value { get; set; }

        public Tag(ProjectBuilder.PhpDocTypes.Tag tag)
        {
            Name = tag.Name;
            Value = tag.Value;
        }

        public void Save()
        {
            GetDBId();
        }
    }
}